import { axios } from '@/utils/request'

const api = {
  apiGetSpuVo: '/product/getProductDetail',
  apiRecommendList: '/product/recommendList',
}
export default api

export function apiGetSpuVo(parameter) {
  return axios({
    url: api.apiGetSpuVo,
    method: 'get',
    params: parameter
  })
}

export function apiRecommendList(parameter) {
  return axios({
    url: api.apiRecommendList,
    method: 'get',
    params: parameter
  })
}